package com.yangxk.kadmin.web.module.system.mapper;

import com.yangxk.kadmin.common.base.BaseMapper;
import com.yangxk.kadmin.web.module.system.po.Dict;

import java.util.List;

public interface DictMapper extends BaseMapper<Dict, Long>{

    List<Dict> findByParentId(long parentId);

    int deleteBatch(List<Long> ids);

    /**
     * 根据父ID删除子节点
     * create by yangxk 2018/10/23 20:04
     */
    void deleteByParentId(Long id);
}